package entity;

public class User extends BaseEntity {
    /**
     * 用户名，用来登录的
     */
    public String username;
    /**
     * 真实姓名
     */
    public String name;
    /**
     * 电话
     */
    public String mobile;
    /**
     * 邮箱
     */
    public String email;
    /**
     * 所属的部门ID
     */
    public int deptId;
    /**
     * 具有的角色ID
     */
    public int roleId;
    /**
     * 状态：启用|停用
     */
    public boolean enabled=true;

    public User() {
    }

    public User(int id,int deptId, String email, String mobile, String name, int roleId, String username) {
        super(id);
        this.deptId = deptId;
        this.email = email;
        this.mobile = mobile;
        this.name = name;
        this.roleId = roleId;
        this.username = username;
    }
}
